package cn.yoyo.dao;

import cn.yoyo.entity.BlogType;

import java.util.List;

public interface BlogTypeDao {
    public List<BlogType> findAll();
    public BlogType findById(String typeId);
    public void add(BlogType blogType);
    public void update(BlogType blogType);
    public void updateSum(String typeId,Integer sum);
    public void deleteById(String typeId);
}
